package com.xinzhidi.web.householdClassify.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinzhidi.common.annotation.Excel;
import com.xinzhidi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 住户分类对象 household_classify
 *
 * @author gm
 * @date 2023-06-09
 */
@ApiModel(value = "住户分类对象")
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("household_classify")
public class HouseholdClassify extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "住户分类id/序号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "小区id")
    @Excel(name = "小区id")
    private Long plotId;

    @ApiModelProperty(value = "小区名称")
    @Excel(name = "小区名称")
    private String plotName;

    @ApiModelProperty(value = "分类名称")
    @Excel(name = "分类名称")
    private String classifyName;

    @ApiModelProperty(value = "删除标识（0：否  1：是  默认：0）")
    @TableLogic
    private String delFlag;
}
